package cn.cvs.dao.sysUser;

import cn.cvs.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {

    public List<SysUser> selectSysUserList(SysUser sysUser);

    //示例14：保存用户
    public int add(SysUser sysUser);

    //删除用户
    int del(Integer id);

    //修改用户密码
    int update(@Param("password")String password,@Param("id")Integer id);

    //修改用户信息
    int updateUser(SysUser sysUser);

}
